<?php
add_filter('comments_template', 'comment_file_comments');

function comment_file_comments($file) {

	if(!function_exists('wp_list_comments')) : // WP 2.7-only check
		$file = TEMPLATEPATH . '/comments-old.php';
	endif;

return $file;
}

add_filter('ec_prd_detail_bimg_resize_filter','child_prd_detail_bimg_width');
function child_prd_detail_bimg_width($width)
{
	return '&amp;w=314&amp;zc=1&amp;q=80';
}

add_filter('ec_prd_detail_timg_resize_filter','child_prd_detail_timg_resize_filter');
function child_prd_detail_timg_resize_filter($width)
{
	return '&amp;w=95&amp;h=100&amp;zc=1&amp;q=80';
}



add_filter('templ_sidebar_widget_box_filter','templ_sidebar_widget_box_fun');
function templ_sidebar_widget_box_fun($widgets)
{
	$unset = array(0,24,21);
	for($i=0;$i<count($unset);$i++)
	{
		$widgets[$unset[$i]] = array();	
	}
	//echo '<pre>'; print_r($widgets);
	return $widgets;
}

add_filter('templ_design_footernavsettings_opt','templ_design_footernavsettings_opt_funt');
function templ_design_footernavsettings_opt_funt($opt){	return '';}
add_filter('templ_design_cufonsettings_opt','templ_design_cufonsettings_opt_funt');
function templ_design_cufonsettings_opt_funt($opt){	return '';}

add_filter('temp_shopping_cart_info_filter','temp_shopping_cart_info_filter_fun');
function temp_shopping_cart_info_filter_fun($opt){	return '';}

add_filter('temp_LatestPosts_filter','temp_LatestPosts_filter_fun');
function temp_LatestPosts_filter_fun($opt){	return '';}

add_filter('temp_textWidgett_filter','temp_textWidgett_filter_fun');
function temp_textWidgett_filter_fun($opt){	return '';}

add_filter('temp_subscribewidget_filter','temp_subscribewidget_filter_fun');
function temp_subscribewidget_filter_fun($opt){	return '';}

add_filter('temp_latest_product_widget_filter','temp_latest_product_widget_filter_fun');
function temp_latest_product_widget_filter_fun($opt){	return '';}

add_filter('temp_social_media_filter','temp_social_media_filter_fun');
function temp_social_media_filter_fun($opt){	return '';}


?>